﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;
using System.Windows.Forms;
using BLL.Controller;
using IBLL.Controller;
using Model.Controller;
using BLL.Business;
using AppToolKit.Core.Context.Spring;
using IBLL.View;
 

namespace CenterDateAchieve.Controller
  {
    [AutoWiring]
    public class TaskController : EditControllerTemplate
    {
        [AutoWiring]
        public TaskBusiness TaskBusinessHolder { get; set; }

        protected new ITaskDefineView DeriveView
        {
            get { return (ITaskDefineView)View; }
        }
        public TaskController()
        {


        }
        protected override void AssignEvent()
        {
            base.AssignEvent();
            DeriveView.PreviewAction += DeriveView_PreviewAction;
        }

        private void DeriveView_PreviewAction(object sender, EventArgs e)
        {
             
        }
        public TaskController(object key)
            : base(key)
        {
 
        }
        public override string XmlName
        {
            get
            {
                return "task";
            }
            
        }

       

        public override void Refresh(object sender, string id)
        {
            
        }
    }
}
